package com.cjq.allservice.mapper;

import com.cjq.allservice.entity.Cart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cjq.allservice.entity.vo.CartVo;
import org.mapstruct.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cjq
 * @since 2022-01-11
 */
//@Mapper
@Repository
public interface CartMapper extends BaseMapper<Cart> {

    public List<CartVo> getAllCartVosByUserId(String userId);
}
